import 'package:dio/dio.dart';
import 'package:flutter_layout/utils/request.dart';

// 获取轮播图数据
Future<Response> getBanner() async {
  return Request()
      .request(url: "/business-app/business-app/banner/list", data: {
    'q': 2
  }, options: {
    "method": "get",
  }, queryParameters: {
    "type": "home"
  });
}
